package business.other.punish.impl;

import business.other.punish.PeoplePunishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.tags.ParamAware;
import other.domain.PeoplePunishInfo;
import other.domain.PeoplePunishInfoCriteria;
import other.mapper.PeoplePunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "peoplePunishService")
public class PeoplePunishInfoServiceImpl implements PeoplePunishInfoService{
    @Autowired
    PeoplePunishInfoMapper peoplePunishInfoMapper;
    @Override
    public List<PeoplePunishInfo> getPeoplePunishInfo() {
        PeoplePunishInfoCriteria criteria = new PeoplePunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return peoplePunishInfoMapper.selectByExample(criteria);
    }
}
